<template>
  <div class="resume">
    <!-- 头部 返回 -->
    <div id="feat">
      <p>
        <router-link :to="{ name: 'askDoctor' }"
          ><van-icon name="arrow-left"
        /></router-link>
      </p>
      <p>+关注</p>
      <p><van-icon name="guide-o" /></p>
    </div>

    <!-- 医生详情 -->
    <div id="doc">
      <div id="dce">
        <p></p>
        <p>高培峰</p>
        <p>主治医生</p>
        <p>7年工作经验</p>
        <p>1.5万+</p>
        <p>23</p>
        <p>0</p>
        <p>预约人次</p>
        <p>案例</p>
        <p>回答</p>
        <p></p>
        <p>主要项目</p>
        <p>鼻部整形.胸部整形.自体脂肪</p>
        <p></p>
        <p></p>
        <p></p>
      </div>
      <div id="def">
        <p>河南汇星整形医疗美容</p>
        <p>></p>
        <p>地址:河南省郑州市XXXXX</p>
      </div>
    </div>

    <van-tabs v-model="active" @click="onClick">
      <van-tab title="项目">
        <div id="pace">
          <p>项目</p>
          <p>全部项目</p>
        </div>
        <div id="next" v-for="v in 5" :key="v">
          <p></p>
          <p>【面部填充】自体脂肪填充单部位</p>
          <p>券后￥450/次</p>
          <p>1234人订阅</p>
          <p>定金满199减30花呗金</p>
          <p>优惠</p>
          <p>吴勇</p>
          <p>河南彗星美疗馆</p>
        </div>
      </van-tab>
      <van-tab title="案例">内容 2</van-tab>
      <van-tab title="发表">内容 3</van-tab>
    </van-tabs>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
  methods: {
    onClick() {
      this.$router.push({ name: "anli" });
      console.log(111);
    },
  },
};
</script>

<style lang="scss" scoped>
#pace {
  height: 100px;
  width: 100%;
  // background-color: bisque;
}
#pace :nth-child(1) {
  float: left;
  font-size: 35px;
  margin-left: 30px;
  margin-top: 15px;
}
#pace :nth-child(2) {
  float: right;
  font-size: 33px;
  margin-right: 30px;
  margin-top: 20px;
  color: #ced5e1;
}
// 项目区
#next {
  height: 230px;
  width: 80%;
  // background-color: #9a9a9a;
  margin-left: 10%;
  position: relative;
}
#next :nth-child(1) {
  height: 220px;
  width: 220px;
  position: absolute;
  top: 4px;
  border-radius: 20px;
  background-color: #ced5e1;
}
#next :nth-child(2) {
  position: absolute;
  top: 14px;
  left: 220px;
  font-size: 20px;
}
#next :nth-child(3) {
  position: absolute;
  top: 114px;
  left: 230px;
  font-size: 20px;
  color: red;
}
#next :nth-child(4) {
  position: absolute;
  top: 114px;
  left: 400px;
  color: #ced5e1;
  font-size: 20px;
}
#next :nth-child(5) {
  position: absolute;
  top: 149px;
  left: 230px;
  font-size: 20px;
  color:  #7F6C6C;
  border-radius: 20px;
  border: 2px solid #7F6C6C ;
}
#next :nth-child(6) {
  position: absolute;
  top: 149px;
  left: 490px;
  font-size: 20px;
  color:  #6C6C6C;
  border-radius: 10px;
  border: 2px solid #6C6C6C ;
}
#next :nth-child(7) {
  position: absolute;
    top: 189px;
  left: 240px;
  color: #ced5e1;
  font-size: 20px;
}
#next :nth-child(8) {
  position: absolute;
    top: 189px;
  left: 340px;
  color: #ced5e1;
  font-size: 20px;
}

//
#feat {
  margin-top: 20px;
  height: 70px;
  width: 100%;
  // background-color: bisque;
  position: relative;
}
#feat :nth-child(1) {
  color: black;
  position: absolute;
  top: 3px;
  left: 0;
}
#feat :nth-child(2) {
  height: 60px;
  width: 130px;
  text-align: center;
  line-height: 60px;
  background-color: #bebebe;
  color: white;
  position: absolute;
  top: 5px;
  right: 150px;
  font-size: 30px;
  border-radius: 32px;
}
#feat :nth-child(3) {
  text-align: center;
  line-height: 60px;
  position: absolute;
  top: 7px;
  right: 80px;
}
#doc {
  height: 480px;
  width: 100%;
  // background-color: #bebebe;
  box-sizing: border-box;
  position: relative;
}
// 医生详情
#dce {
  height: 320px;
  width: 550px;
  background-color: white;
  margin: auto;
  margin-top: 30px;
  // border: 1px solid #936a6a;
  box-shadow: -2px 2px 15px #936a6a;
  border-radius: 20px;
  position: relative;
}
#dce :nth-child(1) {
  position: absolute;
  top: 20px;
  height: 140px;
  width: 140px;
  border-radius: 50%;
  border: 1px solid rgb(10, 2, 2);
  background-color: #ceced4;
  border: 1px solid red;
  background-image: url("../../../images/hand.jpg");
  background-position-x: 0px;
  background-position-y: -6px;
  background-size: 100%;
  margin-left: 20px;
  box-sizing: border-box;
}
#dce :nth-child(2) {
  font-size: 34px;
  position: absolute;
  top: 27px;
  left: 200px;
}
#dce :nth-child(3) {
  font-size: 26px;
  position: absolute;
  top: 34px;
  left: 320px;
  color: #ced5e1;
}
#dce :nth-child(4) {
  font-size: 34px;
  position: absolute;
  top: 87px;
  left: 220px;
  font-size: 26px;
  color: #ced5e1;
}
#dce :nth-child(5) {
  font-size: 30px;
  position: absolute;
  top: 134px;
  left: 170px;
}
#dce :nth-child(6) {
  font-size: 30px;
  position: absolute;
  top: 139px;
  left: 320px;
}
#dce :nth-child(7) {
  font-size: 30px;
  position: absolute;
  top: 139px;
  left: 450px;
}
#dce :nth-child(8) {
  font-size: 25px;
  position: absolute;
  top: 179px;
  left: 170px;
  color: #ced5e1;
}
#dce :nth-child(9) {
  font-size: 25px;
  position: absolute;
  top: 179px;
  left: 310px;
  color: #ced5e1;
}
#dce :nth-child(10) {
  font-size: 25px;
  position: absolute;
  top: 179px;
  left: 430px;
  color: #ced5e1;
}
#dce :nth-child(11) {
  height: 1px;
  width: 450px;
  background-color: #ced5e1;
  position: absolute;
  top: 229px;
  left: 50px;
}
#dce :nth-child(12) {
  font-size: 28px;
  position: absolute;
  bottom: 40px;
  left: 30px;
}
#dce :nth-child(13) {
  font-size: 28px;
  position: absolute;
  bottom: 40px;
  left: 170px;
}

// 详情框下侧
#def {
  height: 100px;
  width: 500px;
  margin-top: 40px;
  margin-left: 125px;
  position: relative;
}

#def :nth-child(1) {
  position: absolute;
  font-size: 30px;
  top: 5px;
  left: 0;
}
#def :nth-child(2) {
  position: absolute;
  font-size: 30px;
  top: 10px;
  left: 320px;
  color: #9a9a9a;
}
#def :nth-child(3) {
  position: absolute;
  font-size: 25px;
  top: 50px;
  left: 0px;
  color: #ceced4;
}
</style>
